package com.neuedu.proapi.controller;

import com.neuedu.proapi.service.WordcloudService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WordcloudController {
    @Autowired
    private WordcloudService wordcloudService;
    @GetMapping("/queryAllschool")
    public Object queryAllschool(){
        return wordcloudService.queryAllSchool();
    }
}
